<!doctype html>

<html lang="zh-CN">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <title>无界岛论坛</title>
</head>

<body>

</body>
<script>
    $.ajax({
        type: 'get',
        url: '/test/t6',
        success: function (data, status, jqXHR) {
            // 获取 user_token 响应头
            const userToken = jqXHR.getResponseHeader('user_token');
            console.log('user_token:', userToken);
        },
        error: function (jqXHR, textStatus, errorThrown) {
            console.error('请求失败:', textStatus);
        }
    });

</script>